const adminsService = require('../../services/admins/adminsService.js');



let {
    adminName,
    adminPassword,
    _id,
    photo
} = {
    adminName: '222',
    adminPassword: '222',
    _id: '619b5a57128c045ee2c9cfbf',
    photo: 'a70bddfabcbe2.jpg'
}
let a = adminsService.updateAdminsInfo({
    _id,
    adminName,
    adminPassword,
    photo
})

a.then((data) => {
    console.log(data);
})